package stark.app.function.beat;

import com.stark.beat.lib.ui.DefBeatTrainActivity;

import stark.app.R;
import stark.app.databinding.FragmentBeatTrainBinding;
import stark.common.basic.base.BaseNoModelFragment;

/**
 * Author：daizhongbin on 2023/6/12
 * Email：1027154338@qq.com
 * Desc:
 */
public class BeatTrainFragment extends BaseNoModelFragment<FragmentBeatTrainBinding> {
    @Override
    protected int onCreate() {
        return R.layout.fragment_beat_train;
    }

    @Override
    protected void initView() {
        mDataBinding.btnSimple.setOnClickListener(v -> {
            DefBeatTrainActivity.start(getActivity(), 0, DefBeatTrainActivity.MODE_SIMPLE);
        });
        mDataBinding.btnMiddle.setOnClickListener(v -> {
            DefBeatTrainActivity.start(getActivity(), 0, DefBeatTrainActivity.MODE_MIDDLE);
        });
        mDataBinding.btnHard.setOnClickListener(v -> {
            DefBeatTrainActivity.start(getActivity(), 0, DefBeatTrainActivity.MODE_HARD);
        });
    }

    @Override
    protected void initData() {

    }
}
